const BaseController = require('../core/baseController');

class BookController extends BaseController {
  async list() {
    const { ctx, service } = this;
    const data = await service.book.getBookList();
    console.log(data);
    this.success({ data: data });
  }
}

module.exports = BookController;
